package org.covalence.core;

import org.objectweb.asm.Type;

public class PropertyConfig {
	
	private String propertyName;
	
	private String typeDescriptor;
	
	private Type type;
	
	private String methodName;
	
	private String methodSignature;

	public String getPropertyName() {
		return propertyName;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public String getTypeDescriptor() {
		return typeDescriptor;
	}

	public void setTypeDescriptor(String fieldType) {
		this.typeDescriptor = fieldType;
		this.type = Type.getType(fieldType);
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getMethodSignature() {
		return methodSignature;
	}

	public void setMethodSignature(String methodSignature) {
		this.methodSignature = methodSignature;
	}
}
